package com.payment.entity.pojo.request;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.*;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlRootElement(name = "head")
/**
 * Demo class
 *
 * @author lm
 * @date 2018/8/13
 */
public class RequestHeader {

	//版本号

	@XmlElement(name = "version")
	private String version;

	//接入方编码，每个接入方对应一个密钥

	@XmlElement(name = "access_code")
	private String accessCode;

	//发送请求的UTC时间戳

	@XmlElement(name = "timestamp")
	private String timestamp;

	//请求的事件类型

	@XmlElement(name = "cmd_type")
	private String cmdType;


}
